package com.zhiyou.crud.service;

import com.zhiyou.crud.bean.Manage;
import com.zhiyou.crud.bean.News;
import com.zhiyou.crud.bean.Question;
import com.zhiyou.crud.dao.NewsMapper;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: Admin_ManageService
 * @Author: ZengS
 * @Date: 2022/9/24 17:14
 */
public interface Admin_ManageService {

    List<News> getNews();

    void insertNews(News news);

    void updateNews(News news);

    void deleteNews(Integer nno);

    List<Question> getQuestion();

    void insertQuestion(Question question);

    void deleteQuestion(Integer qno);

    void updateQuestion(Question question);

    void updateManage(Manage manage);
}
